package com.luminary.demo.business.client.hystrix;

import org.springframework.stereotype.Component;

import com.luminary.demo.business.client.UserClient;
import com.luminary.demo.user.model.po.User;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Component
public class UserClientHystrix implements UserClient {

	@Override
	public User getUser(String username) throws Exception {
		log.info("用户查询失败，系统降级");
		return null;
	}
	
}
